import request from '@/common/request.js'

const objToUrl = obj => {
	let arr = [];
	for (let i in obj) {
		if (obj.hasOwnProperty(i)) {
			arr.push(encodeURIComponent(i) + "=" + encodeURIComponent(obj[i]));
		}
	}
	return arr.join("&");
}



export default {
	/**
	 * 示例
	 * @param {type} info 
	 */
	getDataList(data) {
		return request({
			url: `/v1/archive/getDataList`,
			method: 'GET',
			data
		})
	},
}